/**
 * 
 */
package com.arx.common;

/**
 * @author Donald
 */
public interface GlobalConsts extends ScriptConsts {
	/** max loadable anims per character. */
	short MAX_ANIMS = 200;
	short	ANIM1ST_AIM_LEFT_1H						= 5;
	short	ANIM1ST_AIM_LEFT_2H						= 12;
	short	ANIM1ST_AIM_LEFT_BARE					= 19;
	short	ANIM1ST_AIM_RIGHT_1H					= 6;
	short	ANIM1ST_AIM_RIGHT_2H					= 13;
	short	ANIM1ST_AIM_RIGHT_BARE					= 20;
	short	ANIM1ST_CAST_MIDDLE						= 23;
	short	ANIM1ST_CAST_OFF						= 22;
	short	ANIM1ST_CAST_ON							= 21;
	short	ANIM1ST_CAST_WAIT						= 24;
	short	ANIM1ST_DRAW_1H							= 1;
	short	ANIM1ST_DRAW_1H_OFF						= 2;
	short	ANIM1ST_DRAW_2H							= 8;
	short	ANIM1ST_DRAW_2H_OFF						= 9;
	short	ANIM1ST_DRAW_BARE						= 15;
	short	ANIM1ST_DRAW_BARE_OFF					= 16;
	short	ANIM1ST_LEFT_STRIKE_1H					= 4;
	short	ANIM1ST_LEFT_STRIKE_2H					= 11;
	short	ANIM1ST_LEFT_STRIKE_BARE				= 18;
	short	ANIM1ST_RIGHT_STRIKE_1H					= 3;
	short	ANIM1ST_RIGHT_STRIKE_2H					= 10;
	short	ANIM1ST_RIGHT_STRIKE_BARE				= 17;
	short	ANIM1ST_SHIELD_END						= 27;
	short	ANIM1ST_SHIELD_HOLD						= 26;
	short	ANIM1ST_SHIELD_START					= 25;
	short	ANIM1ST_TALK							= 28;
	short	ANIM1ST_WAIT							= 0;
	short	ANIM1ST_WAIT_2H							= 7;
	short	ANIM1ST_WAIT_BARE						= 14;
	short	DAMAGE_AREA								= 0;
	short	DAMAGE_AREAHALF							= 2;
	short	DAMAGE_FLAG_ADD_VISUAL_FX				= 2;									// depending
	// on
	// type
	short	DAMAGE_FLAG_DONT_HURT_SOURCE			= 1;
	short	DAMAGE_FLAG_FOLLOW_SOURCE				= 4;
	short	DAMAGE_FULL								= 1;
	short	DAMAGE_NOT_FRAME_DEPENDANT				= 32;
	short	DAMAGE_SPAWN_BLOOD						= 64;
	short	DAMAGE_TYPE_ACID						= 1 << 9;
	short	DAMAGE_TYPE_COLD						= 1 << 3;
	short	DAMAGE_TYPE_DRAIN_LIFE					= 1 << 12;
	short	DAMAGE_TYPE_DRAIN_MANA					= 1 << 13;
	int		DAMAGE_TYPE_FAKEFIRE					= 1 << 15;
	int		DAMAGE_TYPE_FIELD						= 1 << 16;
	short	DAMAGE_TYPE_FIRE						= 1;
	short	DAMAGE_TYPE_GAS							= 1 << 5;
	short	DAMAGE_TYPE_GENERIC						= 0;
	short	DAMAGE_TYPE_LIGHTNING					= 1 << 2;
	short	DAMAGE_TYPE_MAGICAL						= 1 << 1;
	short	DAMAGE_TYPE_METAL						= 1 << 6;
	int		DAMAGE_TYPE_NO_FIX						= 1 << 17;
	short	DAMAGE_TYPE_ORGANIC						= 1 << 10;
	short	DAMAGE_TYPE_PER_SECOND					= 1 << 11;

	short	DAMAGE_TYPE_POISON						= 1 << 4;
	short	DAMAGE_TYPE_PUSH						= 1 << 14;
	short	DAMAGE_TYPE_STONE						= 1 << 8;
	short	DAMAGE_TYPE_WOOD						= 1 << 7;
	float	DEUXTIERS								= 0.6666666666666666666667f;
	float	DIV10									= 0.1f;
	float	DIV100									= 0.01f;
	float	DIV1000									= 0.001f;
	float	DIV10000								= 0.0001f;
	float	DIV100000								= 0.00001f;
	float	DIV1024									= 0.0009765625f;
	float	DIV11									= 0.0909090909090909090909f;
	float	DIV110									= 0.0090909090909090909090f;
	float	DIV12									= 0.0833333333333333333333f;
	float	DIV120									= 0.0083333333333333333333f;
	float	DIV12000								= 0.0000833333333333333333f;
	float	DIV128									= 0.0078125f;
	float	DIV13									= 0.0769230769230769230769f;
	float	DIV130									= 0.0076923076923076923076f;
	float	DIV13000								= 0.0000769230769230769231f;
	float	DIV14									= 0.0714285714285714285714f;
	float	DIV140									= 0.0071428571428571428571f;
	float	DIV15									= 0.0666666666666666666667f;
	float	DIV150									= 0.0066666666666666666666f;
	float	DIV15000								= 0.0000666666666666666666f;
	float	DIV16									= 0.0625f;
	float	DIV160									= 0.00625f;
	float	DIV16000								= 0.0000625f;
	float	DIV17									= 0.0588235294117647058823f;
	float	DIV170									= 0.0058823529411764705882f;
	float	DIV18									= 0.0555555555555555555555f;
	float	DIV180									= 0.0055555555555555555555f;
	float	DIV18000								= 0.0000555555555555555555f;
	float	DIV19									= 0.0526315789473684210526f;
	float	DIV190									= 0.0052631578947368421052f;
	float	DIV2									= 0.5f;
	float	DIV20									= 0.05f;
	float	DIV200									= 0.005f;
	float	DIV2000									= 0.0005f;
	float	DIV20000								= 0.00005f;
	float	DIV2048									= 0.00048828125f;
	float	DIV21									= 0.0476190476190476190476f;
	float	DIV22									= 0.0454545454545454545454f;
	float	DIV23									= 0.0434782608695652173913f;
	float	DIV24									= 0.0416666666666666666667f;
	float	DIV25									= 0.04f;
	float	DIV255									= 0.00392156862745098f;
	float	DIV256									= 0.00390625f;
	float	DIV26									= 0.0384615384615384615384f;
	float	DIV27									= 0.0370370370370370370370f;
	float	DIV28									= 0.0357142857142857142857f;
	float	DIV29									= 0.0344827586206896551724f;
	float	DIV3									= 0.3333333333333333333333f;
	float	DIV30									= 0.0333333333333333333333f;
	float	DIV300									= 0.0033333333333333333333f;
	float	DIV3000									= 0.00033333333f;
	float	DIV32									= 0.03125f;
	float	DIV32768								= 0.000030517578125f;
	float	DIV384									= 0.0026041666666666666666f;
	float	DIV4									= 0.25f;
	float	DIV40									= 0.025f;
	float	DIV400									= 0.0025f;
	float	DIV4000									= 0.00025f;
	float	DIV4096									= 0.000244140625f;
	float	DIV480									= 0.0020833333333333333333f;
	float	DIV5									= 0.2f;
	float	DIV50									= 0.02f;
	float	DIV500									= 0.002f;
	float	DIV5000									= 0.0002f;
	float	DIV512									= 0.001953125f;
	float	DIV6									= 0.1666666666666666666666f;
	float	DIV60									= 0.0166666666666666666666f;
	float	DIV600									= 0.0016666666666666666666f;
	float	DIV64									= 0.015625f;
	float	DIV640									= 0.0015625f;
	float	DIV7									= 0.1428571428571428571428f;
	float	DIV70									= 0.0142857142857142857142f;
	float	DIV700									= 0.0014285714285714285714f;
	float	DIV8									= 0.125f;
	float	DIV80									= 0.0125f;
	float	DIV800									= 0.00125f;
	float	DIV9									= 0.1111111111111111111111f;
	float	DIV90									= 0.0111111111111111111111f;
	float	DIV900									= 0.0011111111111111111111f;
	float	DIVPI									= 0.318309886183790671537767526745029f;
	short	EQUIP_LEFTHAND							= 2;
	short	EQUIP_RIGHTHAND							= 1;
	short	EQUIP_SECONDARY							= 3;
	short	EQUIP_SHIELD							= 4;
	short	EQUIP_SLOT_ARMOR						= 5;
	short	EQUIP_SLOT_HELMET						= 6;
	short	EQUIP_SLOT_LEGGINGS						= 7;
	short	EQUIP_SLOT_RING_LEFT					= 0;
	short	EQUIP_SLOT_RING_RIGHT					= 1;
	short	EQUIP_SLOT_SHIELD						= 3;
	short	EQUIP_SLOT_TORCH						= 4;
	short	EQUIP_SLOT_WEAPON						= 2;
	short	FBD_NOTHING								= 2;
	short	FBD_TREAT								= 1;

	short	FLAG_DONTKILLDIR						= 2;
	short	FLAG_NOCONFIRM							= 1;
	int		GFLAG_DOOR								= 1 << 5;
	int		GFLAG_ELEVATOR							= 1 << 10;
	int		GFLAG_GOREEXPLODE						= 1 << 14;
	int		GFLAG_HIDEWEAPON						= 1 << 12;
	int		GFLAG_INTERACTIVITY						= 1;
	int		GFLAG_INTERACTIVITYHIDE					= 1 << 4;
	int		GFLAG_INVISIBILITY						= 1 << 6;
	int		GFLAG_ISINTREATZONE						= 1 << 1;
	int		GFLAG_MEGAHIDE							= 1 << 11;
	int		GFLAG_NEEDINIT							= 1 << 3;
	int		GFLAG_NO_PHYS_IO_COL					= 1 << 7;
	int		GFLAG_NOCOMPUTATION						= 1 << 15;
	int		GFLAG_NOGORE							= 1 << 13;
	int		GFLAG_PLATFORM							= 1 << 9;
	int		GFLAG_VIEW_BLOCKER						= 1 << 8;
	int		GFLAG_WASINTREATZONE					= 1 << 2;
	byte	INTER_COMBATMODE						= 0x00000040;
	byte	INTER_INVENTORY							= 0x00000002;
	byte	INTER_INVENTORYALL						= 0x00000004;
	byte	INTER_LIFE_MANA							= 0x00000020;
	byte	INTER_MAP								= 0x00000001;
	byte	INTER_MINIBACK							= 0x00000010;
	byte	INTER_MINIBOOK							= 0x00000008;

	short	INTER_NO_STRIKE							= 0x00000200;

	short	INTER_NOTE								= 0x00000080;
	short	INTER_STEAL								= 0x00000100;
	short	INVENTORY_X								= 16;
	short	INVENTORY_Y								= 3;
	short	LAST_RESERVED_SLOT						= 7;

	byte	MAX_ANIM_LAYERS							= 4;
	short	MAX_ANIMS1ST							= 32;
	short	MAX_DAMAGES								= 200;
	byte	MAX_EQUIPED								= 12;

	short	MAX_EVENT_STACK							= 800;
	short	MAX_GOSUB								= 10;
	byte	MAX_LINFO								= 20;
	byte	MAX_PRECAST								= 3;
	short	MAX_QUESTS								= 100;
	byte	MAX_SCREEN_SPLATS						= 12;
	short	MAX_SCRIPTTIMERS						= 5;
	short	MAX_SHORTCUT							= 80;
	byte	MAX_SPELLS								= 20;
	byte	MAX_SSEPARAMS							= 5;
	byte	MAX_STACKED_BEHAVIOR					= 5;
	short	NB_RUNES								= GlobalConsts.SYMBOL_AKBAA + 1;
	short	NO_IDENT								= 1;
	short	NO_MESH									= 2;
	short	NO_ON_LOAD								= 4;
	short	OBJECT_TYPE_1H							= 1 << 2;
	short	OBJECT_TYPE_2H							= 1 << 3;

	short	OBJECT_TYPE_ARMOR						= 1 << 8;
	short	OBJECT_TYPE_BOW							= 1 << 4;
	short	OBJECT_TYPE_DAGGER						= 1 << 1;
	short	OBJECT_TYPE_FOOD						= 1 << 6;
	short	OBJECT_TYPE_GOLD						= 1 << 7;
	short	OBJECT_TYPE_HELMET						= 1 << 9;

	short	OBJECT_TYPE_LEGGINGS					= 1 << 11;
	short	OBJECT_TYPE_RING						= 1 << 10;
	short	OBJECT_TYPE_SHIELD						= 1 << 5;
	short	OBJECT_TYPE_WEAPON						= 1;
	short	PLAYER_CROUCH							= 1 << 7;
	short	PLAYER_LEAN_LEFT						= 1 << 8;
	short	PLAYER_LEAN_RIGHT						= 1 << 9;
	short	PLAYER_MOVE_JUMP						= 1 << 4;
	short	PLAYER_MOVE_STEALTH						= 1 << 5;
	short	PLAYER_MOVE_STRAFE_LEFT					= 1 << 2;
	short	PLAYER_MOVE_STRAFE_RIGHT				= 1 << 3;
	short	PLAYER_MOVE_WALK_BACKWARD				= 1 << 1;
	short	PLAYER_MOVE_WALK_FORWARD				= 1;
	short	PLAYER_ROTATE							= 1 << 6;
	short	PLAYERFLAGS_INVULNERABILITY				= 2;
	short	PLAYERFLAGS_NO_MANA_DRAIN				= 1;
	short	RENDER_INTER_FLAG_DUMMY_DRAW			= 1;
	short	RUNE_AAM								= GlobalConsts.SYMBOL_AAM;
	short	RUNE_CETRIUS							= GlobalConsts.SYMBOL_CETRIUS;
	short	RUNE_COMUNICATUM						= GlobalConsts.SYMBOL_COMUNICATUM;
	short	RUNE_COSUM								= GlobalConsts.SYMBOL_COSUM;
	short	RUNE_FOLGORA							= GlobalConsts.SYMBOL_FOLGORA;
	short	RUNE_FRIDD								= GlobalConsts.SYMBOL_FRIDD;
	short	RUNE_KAOM								= GlobalConsts.SYMBOL_KAOM;
	short	RUNE_MEGA								= GlobalConsts.SYMBOL_MEGA;

	short	RUNE_MORTE								= GlobalConsts.SYMBOL_MORTE;
	short	RUNE_MOVIS								= GlobalConsts.SYMBOL_MOVIS;
	short	RUNE_NHI								= GlobalConsts.SYMBOL_NHI;
	short	RUNE_RHAA								= GlobalConsts.SYMBOL_RHAA;
	short	RUNE_SPACIUM							= GlobalConsts.SYMBOL_SPACIUM;
	short	RUNE_STREGUM							= GlobalConsts.SYMBOL_STREGUM;
	short	RUNE_TAAR								= GlobalConsts.SYMBOL_TAAR;
	short	RUNE_TEMPUS								= GlobalConsts.SYMBOL_TEMPUS;
	short	RUNE_TERA								= GlobalConsts.SYMBOL_TERA;
	short	RUNE_VISTA								= GlobalConsts.SYMBOL_VISTA;
	short	RUNE_VITAE								= GlobalConsts.SYMBOL_VITAE;
	short	RUNE_YOK								= GlobalConsts.SYMBOL_YOK;

	short	SHOW_FLAG_DESTROYED						= 255;
	short	SHOW_FLAG_HIDDEN						= 5;
	// Inventory
	short	SHOW_FLAG_IN_INVENTORY					= 4;									// In
	// Inventory
	short	SHOW_FLAG_IN_SCENE						= 1;
	short	SHOW_FLAG_KILLED						= 7;									// Not
	// Used
	// Yet
	short	SHOW_FLAG_LINKED						= 2;
	short	SHOW_FLAG_MEGAHIDE						= 8;
	short	SHOW_FLAG_NOT_DRAWN						= 0;
	short	SHOW_FLAG_ON_PLAYER						= 9;
	short	SHOW_FLAG_TELEPORTING					= 6;
	short	SP_ARM1									= 32;
	short	SP_ARM2									= 64;
	short	SP_ARM3									= 128;
	short	SP_MAX									= 1;
	short	SP_MR									= 16;
	short	SP_RF									= 4;
	short	SP_SP									= 256;
	short	SP_SP2									= 512;
	short	SP_WEP									= 8;
	short	SPELL_ACTIVATE_PORTAL					= 15;

	short	SPELL_ARMOR								= 23;
	short	SPELL_BLESS								= 41;
	short	SPELL_COLD_PROTECTION					= 46;
	short	SPELL_CONFUSE							= 75;
	short	SPELL_CONTROL_TARGET					= 102;
	short	SPELL_COUNT								= 106;
	short	SPELL_CREATE_FIELD						= 63;
	short	SPELL_CREATE_FOOD						= 34;
	short	SPELL_CURE_POISON						= 53;
	short	SPELL_CURSE								= 45;
	short	SPELL_DETECT_TRAP						= 22;
	short	SPELL_DISARM_TRAP						= 64;
	short	SPELL_DISPELL_FIELD						= 42;
	short	SPELL_DISPELL_ILLUSION					= 32;
	short	SPELL_DOUSE								= 14;
	short	SPELL_ENCHANT_WEAPON					= 84;
	short	SPELL_EXPLOSION							= 83;
	short	SPELL_FAKE_SUMMON						= 105;									// special
																							// =105
	short	SPELL_FIRE_FIELD						= 72;
	short	SPELL_FIRE_PROTECTION					= 43;
	short	SPELL_FIREBALL							= 33;
	// LEVEL 7
	short	SPELL_FLYING_EYE						= 71;
	short	SPELL_FREEZE_TIME						= 103;
	short	SPELL_HARM								= 25;
	// LEVEL 2
	short	SPELL_HEAL								= 21;
	short	SPELL_ICE_FIELD							= 73;

	short	SPELL_ICE_PROJECTILE					= 35;
	short	SPELL_IGNIT								= 13;

	short	SPELL_INCINERATE						= 93;
	// LEVEL 8
	short	SPELL_INVISIBILITY						= 81;
	short	SPELL_LEVITATE							= 52;
	short	SPELL_LIFE_DRAIN						= 85;									// secret
	short	SPELL_LIGHTNING_STRIKE					= 74;
	short	SPELL_LOWER_ARMOR						= 24;
	short	SPELL_MAGIC_MISSILE						= 12;
	short	SPELL_MAGIC_SIGHT						= 11;
	short	SPELL_MANA_DRAIN						= 82;
	short	SPELL_MASS_INCINERATE					= 104;
	// LEVEL 10
	short	SPELL_MASS_LIGHTNING_STRIKE				= 101;
	short	SPELL_MASS_PARALYSE						= 94;
	short	SPELL_NEGATE_MAGIC						= 92;
	short	SPELL_PARALYSE							= 62;
	short	SPELL_POISON_PROJECTILE					= 55;
	short	SPELL_REPEL_UNDEAD						= 54;
	// LEVEL 6
	short	SPELL_RISE_DEAD							= 61;
	// LEVEL 5
	short	SPELL_RUNE_OF_GUARDING					= 51;
	short	SPELL_SLOW_DOWN							= 65;
	short	SPELL_SPEED								= 31;
	short	SPELL_SUMMON_CREATURE					= 91;
	short	SPELL_TELEKINESIS						= 44;
	short	SPELL_TELEPORT							= 107;									// In
	short	SPELLRUNE_FLAG_AAM						= 1 << GlobalConsts.RUNE_AAM;
	int		SPELLRUNE_FLAG_CETRIUS					= 1 << GlobalConsts.RUNE_CETRIUS;
	short	SPELLRUNE_FLAG_COMUNICATUM				= 1 << GlobalConsts.RUNE_COMUNICATUM;
	short	SPELLRUNE_FLAG_COSUM					= 1 << GlobalConsts.RUNE_COSUM;
	short	SPELLRUNE_FLAG_FOLGORA					= 1 << GlobalConsts.RUNE_FOLGORA;
	int		SPELLRUNE_FLAG_FRIDD					= 1 << GlobalConsts.RUNE_FRIDD;
	short	SPELLRUNE_FLAG_KAOM						= 1 << GlobalConsts.RUNE_KAOM;
	short	SPELLRUNE_FLAG_MEGA						= 1 << GlobalConsts.RUNE_MEGA;
	short	SPELLRUNE_FLAG_MORTE					= 1 << GlobalConsts.RUNE_MORTE;
	short	SPELLRUNE_FLAG_MOVIS					= 1 << GlobalConsts.RUNE_MOVIS;
	short	SPELLRUNE_FLAG_NHI						= 1 << GlobalConsts.RUNE_NHI;
	int		SPELLRUNE_FLAG_RHAA						= 1 << GlobalConsts.RUNE_RHAA;
	int		SPELLRUNE_FLAG_SPACIUM					= 1 << GlobalConsts.RUNE_SPACIUM;
	short	SPELLRUNE_FLAG_STREGUM					= 1 << GlobalConsts.RUNE_STREGUM;
	short	SPELLRUNE_FLAG_TAAR						= 1 << GlobalConsts.RUNE_TAAR;
	short	SPELLRUNE_FLAG_TEMPUS					= 1 << GlobalConsts.RUNE_TEMPUS;
	int		SPELLRUNE_FLAG_TERA						= 1 << GlobalConsts.RUNE_TERA;
	short	SPELLRUNE_FLAG_VISTA					= 1 << GlobalConsts.RUNE_VISTA;
	short	SPELLRUNE_FLAG_VITAE					= 1 << GlobalConsts.RUNE_VITAE;
	short	SPELLRUNE_FLAG_YOK						= 1 << GlobalConsts.RUNE_YOK;
	/** Create. */
	short	SYMBOL_AAM								= 0;
	/** Akbaa. */
	short	SYMBOL_AKBAA							= 20;
	/** Poison. */
	short	SYMBOL_CETRIUS							= 17;
	/** Communication. */
	short	SYMBOL_COMUNICATUM						= 11;
	/** Object. */
	short	SYMBOL_COSUM							= 10;
	/** Storm. */
	short	SYMBOL_FOLGORA							= 14;
	/** Ice. */
	short	SYMBOL_FRIDD							= 19;
	/** Protection. */
	short	SYMBOL_KAOM								= 5;
	/** Improve. */
	short	SYMBOL_MEGA								= 2;
	/** Death. */
	short	SYMBOL_MORTE							= 9;
	/** Movement. */
	short	SYMBOL_MOVIS							= 12;
	/** Negate. */
	short	SYMBOL_NHI								= 1;

	/** None. */
	short	SYMBOL_NONE								= 255;
	/** Lower. */
	short	SYMBOL_RHAA								= 18;
	/** Space. */
	short	SYMBOL_SPACIUM							= 15;
	/** Magic. */
	short	SYMBOL_STREGUM							= 8;
	/** Projectile. */
	short	SYMBOL_TAAR								= 4;
	/** Time. */
	short	SYMBOL_TEMPUS							= 13;
	/** Earth. */
	short	SYMBOL_TERA								= 16;
	/** Vision. */
	short	SYMBOL_VISTA							= 7;

	/** Life. */
	short	SYMBOL_VITAE							= 6;

	/** Fire. */
	short	SYMBOL_YOK								= 3;
	int		TARGET_NODE								= 50000;
	short	TARGET_NONE								= -2;
	short	TARGET_PATH								= -3;
	short	TARGET_PLAYER							= 0;									// -1
	byte	TYPE_FLOAT								= 2;
	byte	TYPE_LONG								= 3;
	byte	TYPE_TEXT								= 1;
	short	WEAPON_1H								= 2;
	short	WEAPON_2H								= 3;
	short	WEAPON_BARE								= 0;
	short	WEAPON_BOW								= 4;
	short	WEAPON_DAGGER							= 1;
}
